package com.mtnz.njk.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @Description: 订单商品实体类
 * @Author: FBL
 * @CreateDate: 2019\7\28 0028 18:25
 * @Version: 1.0
 */
@Data
@Table(name = "order_product")
public class OrderProductEntity {
    @Id
    @Column(name = "order_product_id")
    private String orderProductId;
    @Column(name = "order_info_id")
    private String orderInfoId;
    @Column(name = "product_name")
    private String productName;
    @Column(name = "product_remark")
    private String productRemark;
    private String price;
    private String number;
    @Column(name = "img_url")
    private String imgUrl;
    @Column(name = "product_id")
    private String productId;
    @Column(name = "active_id")
    private Integer activeId;
    @Column(name = "threshold_id")
    private Integer thresholdId;
    @Column(name = "count_num")
    private Integer countNum;
    @Column(name = "remark_id")
    private String remarkId;
    @Column(name = "active_type_name")
    private String activeTypeName;
    // 商品邮费信息
    @Transient
    private String postage;

}
